#ifndef NODE_H
#define NODE_H

//!Node a the quad tree.
class CNode
{
public:
	//!Constructor.
	CNode(void);

	//!Destructor.
	~CNode(void);

public:
	//!Minimum boundary of the quad in the X axis.
	int m_minX;

	//!Maximum boundary of the quad in the X axis.
	int m_maxX;

	//!Minimum boundary of the quad in the Y axis.
	int m_minY;

	//!Maximum boundary of the quad in the Y axis.
	int m_maxY;

	//!Pointer to the north-west node.
	CNode* m_NW;

	//!Pointer to the north-east node.
	CNode* m_NE;

	//!Pointer to the south-west node.
	CNode* m_SW;

	//!Pointer to the south-east node.
	CNode* m_SE;

};

#endif
